Skip to content

fix(mcpx): resync dogfood plugin copy (.opencode/plugin) with pkgs/mcpx/plugin - #10716

Merged
dezren39 merged 1 commit into
mainfrom
queue/15117-8900-mcpx-main-ci
Nov 17, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/15117-8900-mcpx-main-ci

Conversation

@dezren39

@dezren39 dezren39 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

What

Repairs the basic: test failure on main's mcpx.yml by resyncing the dogfood plugin copy with its canonical sources.

diff -r pkgs/mcpx/plugin/opencode/mcpx .opencode/plugin/mcpx
diff -r pkgs/mcpx/plugin/core         .opencode/plugin/core
diff     pkgs/mcpx/plugin/opencode/mcpx-session.ts .opencode/plugin/mcpx-session.ts

All three guards now pass; previously each produced drift.

Why the drift mattered

  • .opencode/plugin/core was missing options.ts and timing.ts — those helpers had been inlined as duplicates, so the repo's own dogfood plugin was running stale code.
  • ops.gen.ts was missing the apis_add/apis_remove and plugin_session_* operations generated from the current ops table.

Verification

  • Three sync diffs: empty.
  • cd pkgs/mcpx && bun test plugin/opencode/mcpx/ plugin/core/: 68 pass, 5 skip, 0 fail.
  • gofmt -l . in pkgs/mcpx: clean on current main (the basic: lint failure in run 43833553567 was at an older head and is already fixed).

One ops.test.ts abort test is timing-flaky in this environment (1 failure in 3 isolated reruns, pre-existing, unrelated to the copy).

Scope

Only .opencode/plugin/** files change; canonical sources are untouched. The stale docs/environment.md half of the same failing run is owned by #10571.

Refs #8900.

The main mcpx 'basic: test' job (e.g. run 43833553567, head 81d1020)
fails its sync guard: .opencode/plugin had drifted from the canonical
sources under pkgs/mcpx/plugin.

Copy the canonical files:
- pkgs/mcpx/plugin/opencode/mcpx/ -> .opencode/plugin/mcpx/
- pkgs/mcpx/plugin/core/          -> .opencode/plugin/core/
- pkgs/mcpx/plugin/opencode/mcpx-session.ts -> .opencode/plugin/mcpx-session.ts

The drift was functional, not cosmetic: core/ was missing options.ts and
timing.ts (inlining duplicate Options/truthy helpers), and ops.gen.ts was
missing the apis_add/apis_remove and plugin_session_* operations.

Verified in the worktree: all three sync diffs are empty, and
`bun test plugin/opencode/mcpx/ plugin/core/` from pkgs/mcpx is green
(68 pass, 5 skip). The gofmt half of the same failing run is already
clean on current main, and the docs/environment.md half is owned by PR
#10571.
@dezren39
dezren39 requested a review from a team as a code owner November 16, 2026 11:17
@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 3 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8f43db22-9d25-49bd-93bb-ac185f591c55
Commits

Reviewing files that changed from the base of the PR and between 43766b9 and 2bfa717.

Files selected for processing: 11

  • .opencode/plugin/core/daemon.test.ts
  • .opencode/plugin/core/daemon.ts
  • .opencode/plugin/core/ops.gen.ts
  • .opencode/plugin/core/ops.test.ts
  • .opencode/plugin/core/options.test.ts
  • .opencode/plugin/core/options.ts
  • .opencode/plugin/core/timing.test.ts
  • .opencode/plugin/core/timing.ts
  • .opencode/plugin/mcpx-session.ts
  • .opencode/plugin/mcpx/biome.json
  • .opencode/plugin/mcpx/ceiling.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T11:17:42.233323Z
We couldn’t complete this review. Comment @codex review to try again.
2bfa717 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant